All Questions
Tagged with source-codedebugging
2 questions
1vote
2answers
81views
How to get bash script's current line contents being processed prior to interpretation? [duplicate]
When using bash -x or set -x in a script the output shows the result of the line being processed but not the source line which produced the result. There are times when knowing this as well could ...
6votes
2answers
4kviews
How can I get glibc/libstdc++ sources and set them up for gdb to find?
I'm debugging this program which raises an exception. This makes my debugger look for some source code, e.g. ../sysdeps/unix/sysv/linux/raise.c - and fail to find it. Now, I realize it's not necessary ...